<meta>
    <info author="GtaStars" description="A handler resource to account for common uses for voice support" type="misc" version="1.1.0" />
	<!--Client -->
	<script src="cGlobals.lua" type="client" cache="false"/>
	<script src="client.lua" type="client" cache="false"/>

	<script src="cPlayerMuting.lua" type="client" cache="false"/>
	
	<export function="setPlayerVoiceMuted" type="client" cache="false" />
	<export function="isPlayerVoiceMuted" type="client" cache="false"/>

	<file src="images/voice.png" />
	
	<file src="images/voice_small_muted.png" />


	<!--Server -->
	<script src="sGlobals.lua" type="server" />
	<script src="sChannelManager.lua" type="server" />
	<script src="sPlayerMuting.lua" type="server" />
	
	<export function="setPlayerVoiceMuted" type="server" />
	<export function="isPlayerVoiceMuted" type="server" />
	<export function="getPlayerVoiceMutedByList" type="server" />
	<export function="getPlayerChannel" type="server" />
	<export function="setPlayerChannel" type="server" />
	<export function="getPlayersInChannel" type="server" />
	<export function="getNextEmptyChannel" type="server" />

	
	<settings>
		<setting name="*show_chat_icon" value="[true]" description="This will display an icon over a player's head when he/she is speaking over the microphone."/>
		<setting name="*autoassign_to_teams" value="[true]" description="This will automatically assign players into a team if they join the team"/>
	</settings>


	<!-- Exported functions for backward compatibility only -->
	<!-- DO NOT USE THESE AS THEY WILL BE REMOVED IN A LITTLE WHILE -->
	<export function="setPlayerMuted" type="client" />
	<export function="isPlayerMuted" type="client" />
	<export function="setPlayerMuted" type="server" />
	<export function="isPlayerMuted" type="server" />
	<export function="getPlayerMutedByList" type="server" />
	<!-- DO NOT USE THESE AS THEY WILL BE REMOVED IN A LITTLE WHILE -->
</meta>
